<?php
/**
 * Created by PhpStorm.
 * User: work
 * Date: 18-8-4
 * Time: 下午2:01
 */
use Phalcon\Di\FactoryDefault;

error_reporting(E_ALL);

define('APP_PATH', dirname(__DIR__)."/../");
define('BASE_PATH', APP_PATH . '/');
define('CONFIG_PATH', APP_PATH . '/config/');
define('PRJ_NS', 'PddWechat');
define('IMAGE_PATH', '/home/work/data/image/');

require_once BASE_PATH . "/vendor/autoload.php";

/**
 * The FactoryDefault Dependency Injector automatically registers
 * the services that provide a full stack framework.
 */
$di = new FactoryDefault();

/**
 * Service init
 */
(new \Dai\Framework\Init\Service()) ->init($di);
